<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="utf-8">
<base th:href="@{/}">
<title>主页</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="static/layui/css/layui.css"
	media="all" />
<link rel="stylesheet"
	href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />
<link rel="stylesheet" href="static/plugin/main/main.css" media="all" />
<script type="text/javascript" src="static/plugin/jquery/jquery-1.4.4.min.js"></script>
</head>
<body class="childrenBody">
	<div class="layui-row">
		<div class="layui-col-md12">
			<div class="layui-card">
				<div class="layui-card-header">商机超时未跟进提醒</div>
				<div class="layui-card-body">
					<blockquote th:if="${#lists.size(remindList)} eq 0">
						<span>当前无超时未跟进商机</span>
						<span class="layui-badge">0</span>
					</blockquote>
					<blockquote th:if="${#lists.size(remindList)} ne 0" class="layui-elem-quote" th:each="remind:${remindList}">
						<span style="color: red;" th:text="${'客户：' + remind.customerId_name + ',有一笔商机已超过' + remind.delayDay + '天未跟进了，点击查看'}" th:onclick="projectInfo([[${remind.id}]])"></span>
					</blockquote>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="static/layui/layui.js"></script>
	<script type="text/javascript">
		function projectInfo(id){
			var index = layer.open({
				type: 2
				, title: '项目详情信息'
				, area: ['80%', '100%']
				, content: '/manage/project/infoHtml/'+id+"/0"
				, btn: ['关闭']
				, yes: function (index, layero) {
					layer.close(index);
				}
			});
		}
	</script>
</body>
</html>
